package org.window;

import javafx.geometry.Pos;
import javafx.scene.image.Image;
import javafx.scene.layout.*;

/**
 * 添加地址/ 遍历内存
 */
public class PaneAndHBoxFrameAndColumnVBoxAndHBoxTools {
    public static HBox hBox = new HBox();
    public static void init(){
        hBox.setPrefWidth(280);
        hBox.setPrefHeight(40);
        hBox.setLayoutX(200);
        hBox.setLayoutY(365);
        hBox.setSpacing(5);
        hBox.setAlignment(Pos.CENTER);
        hBox.setBackground(new Background(new BackgroundImage(new Image("bgk.jpg"), BackgroundRepeat.NO_REPEAT ,BackgroundRepeat.REPEAT, BackgroundPosition.CENTER, BackgroundSize.DEFAULT)));
        hBox.getChildren().addAll(
                PaneAndHBoxFrameAndColumnVBoxAndHBoxToolsAndButtonAddress.button,
                PaneAndHBoxFrameAndColumnVBoxAndHBoxToolsAndButtonEnumAddress.button,
                PaneAndHBoxFrameAndColumnVBoxAndHBoxToolsAndButtonMonitoring.button
        );
        PaneAndHBoxFrameAndColumnVBoxAndHBoxToolsAndButtonAddress.init();
        PaneAndHBoxFrameAndColumnVBoxAndHBoxToolsAndButtonEnumAddress.init();
        PaneAndHBoxFrameAndColumnVBoxAndHBoxToolsAndButtonMonitoring.init();
    }
}
